package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 原子服务和标准服务部署表
 * </p>
 *
 * @author fb
 * @since 2019-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence(value = "SEQ_ESB_SERVICE_ATOM_DEPLOY", clazz = Integer.class)
public class EsbServiceAtomDeploy extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键,id
     */
    @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    /**
     * webLogic域名
     */
    private String domainname;

    /**
     * 实例名
     */
    private String instancename;

    /**
     * 服务id
     */
    private Integer serviceid;

    /**
     * 状态。1:在用,0:不在用
     */
    private String status;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date lastupdateTime;

    /**
     * 部署类型。0:部署的是标准服务,1:部署的是原子服务
     */
    private Integer deploytype;
    
}
